Couchbase
Samples Overview
Qarbine provides a wide variety of sample templates, and queries. Some are application oriented examples, while others are database administrator (DBA) oriented.
Below are a few of the component samples to consider. Review the Qarbine Catalog for the latest components. See the latest set of Couchbase components in the folder depicted below.
Schemas
This general purpose template is at “Qarbine_admin/Cached schemas for prompted data service”. It displays information on all of the cached schemas. These schemas are saved as users interact with the data tools such as the Data Source Designer, Query by Example, and Report by Example. If a particular collection is not shown in the output, simply open up one of these tools and select it from the collection drop down to create it. Then rerun the template.
Running the template prompts for a data service.
Below are sample snippets from running the template.
Buckets
This template is at “example/Couchbase/DBA/Buckets”. It provides information on the Couchbase buckets within the configured environment. Below is a sample snippet from running the template. The values returned will vary based on how you configure the data service and the Capella node.js API.
Scopes
This template is at “example/Couchbase/DBA/Scopes”. It provides information on the Couchbase scopes within the configured environment. Below is a sample snippet from running the template.
Keyspaces
This template is at “example/Couchbase/DBA/Keyspaces”. It provides information on the Couchbase keyspaces within the configured environment. Below is a sample snippet from running the template.
Collections
This template is at “example/Couchbase/DBA/Collections”. It provides information on the Couchbase collections within the configured environment. Below is a sample snippet from running the template.
Indexes
This template is at “example/Couchbase/DBA/Indexes”. It provides information on the Couchbase indexes within the configured environment. Below is a sample snippet from running the template.
Nodes in the Cluster
This template is at “example/Couchbase/DBA/Nodes in the cluster”. It provides information on the Couchbase indexes within the configured environment. Below is a sample snippet from running the template.
General Schema
This general purpose template is at “Qarbine_admin/Cached schemas for prompted data service”. It displays information on all of the cached schemas. These schemas are saved as users interact with the data tools such as the Data Source Designer, Query by Example, and Report by Example. If a particular collection is not shown in the output, simply open up one of these tools and select it from the collection drop down to create it. Then rerun the template.
Running the template prompts for a data service.
Below is a sample snippet from running the template.